﻿using System;
using System.Data;
using System.Configuration;
using System.Collections;
using System.Web;
using System.Web.Security;
using System.Web.UI;
using System.Web.UI.WebControls;
using System.Web.UI.WebControls.WebParts;
using System.Web.UI.HtmlControls;
using System.Text;
namespace jnxc.Web.caseinfo
{
    public partial class Show : Page
    {        
        		public string strid=""; 
		protected void Page_Load(object sender, EventArgs e)
		{
			if (!Page.IsPostBack)
			{
				if (Request.Params["id"] != null && Request.Params["id"].Trim() != "")
				{
					strid = Request.Params["id"];
					int caseid=(Convert.ToInt32(strid));
					ShowInfo(caseid);
				}
			}
		}
		
	private void ShowInfo(int caseid)
	{
		jnxc.BLL.caseinfo bll=new jnxc.BLL.caseinfo();
		jnxc.Model.caseinfo model=bll.GetModel(caseid);
		this.lblcaseid.Text=model.caseid.ToString();
		this.lbluid.Text=model.uid.ToString();
		this.lblctype.Text=model.ctype;
		this.lblpid.Text=model.pid.ToString();
		this.lblhid.Text=model.hid.ToString();
		this.lblcname.Text=model.cname;
		this.lblsid.Text=model.sid.ToString();
		this.lblvictim.Text=model.victim;
		this.lblbdes.Text=model.bdes;
		this.lblmdes.Text=model.mdes;
		this.lblades.Text=model.ades;
		this.lblcstate.Text=model.cstate.ToString();
		this.lblpindex.Text=model.pindex.ToString();

	}


    }
}
